#!/usr/bin/env bash


PID=$(ps -ef | grep APP_NAME=rocketmq-console  | grep -v grep | awk '{ print $2 }')
if [ ${PID} ];
then
 echo 'rocketmq-console is stopping...'
 echo kill $PID DONE
 kill $PID
else
 echo 'rocketmq-console is already stopped...'
fi

